package com.eras.shoes.contents

import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

interface WeatherApiService {
    @GET("data/2.5/weather")
    fun getWeatherData(
        @Query("lat") lat: Double,
        @Query("lon") lng: Double,
        @Query("appid") apiKey: String?,
        @Query("units") units: String?
    ): Call<WeatherResponse?>?

    class WeatherResponse {
        var main: Main? = null

        inner class Main {
            var pressure: Double = 0.0
        }
    }

}
